package com.xueyu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
@Data
@TableName("uservo")
public class UserVo implements Serializable {
    @TableId(value = "userId", type = IdType.AUTO)
    @TableField("userId")
    private  int userId;
    @TableField("userName")
    private String  userName;
    @TableField("passWord")
    private  String passWord;
    private int age;
    private  String sex;
    private  String tel;
    private  String remark;
    private  String role;

    private  String drugPic;
    private  String time;

    @TableField(exist=false)
    private int remember;
//    @TableField(exist=false)
//    private AccountVo accountVo;
    public UserVo() {}
    public UserVo(String userName, String passWord) {
        this.userName = userName;
        this.passWord = passWord;
    }
}
